package com.dayouzi.crawler_monitor.pojo.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="UserAdmin对象", description="")
public class UserAdmin {

	@ApiModelProperty(value = "主键")
	private Integer id;

	@ApiModelProperty(value = "用户账号")
	private String userName;

	@ApiModelProperty(value = "用户密码")
	private String password;

	@ApiModelProperty(value = "用户角色")
	private Integer role;

	@ApiModelProperty(value = "负责人")
	private String person;

	@ApiModelProperty(value = "公告已读状态")
	private Integer noticeStatus;

	@ApiModelProperty(value = "创建时间")
	@JsonIgnore
	private LocalDateTime gmtCreate;

	@ApiModelProperty(value = "更新时间")
	@JsonIgnore
	private LocalDateTime gmtModified;
}